package com.ttj.domain.oracle.gen;

import java.io.Serializable;
import java.util.Date;

public class SuperSysconfAddr implements Serializable {
    private Integer id;

    /**
     * 省
     */
    private String district;

    /**
     * 地区/县
     */
    private String area;

    /**
     * 街道/商圈
     */
    private String street;

    /**
     * 小区/写字楼
     */
    private String community;

    /**
     * 插入时间
     */
    private Date indate;

    /**
     * 修改时间
     */
    private Date modifTime;

    /**
     * 操作者
     */
    private String author;

    /**
     * 类型 1-街道，小区；2--商圈写字楼
     */
    private Integer type;

    /**
     * 是否删除(0--正常，1--删除）
     */
    private Integer isDel;

    /**
     * 排序字段，从小到大排序
     */
    private Integer ord;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 省
     */
    public String getDistrict() {
        return district;
    }

    /**
     * 省
     */
    public void setDistrict(String district) {
        this.district = district;
    }

    /**
     * 地区/县
     */
    public String getArea() {
        return area;
    }

    /**
     * 地区/县
     */
    public void setArea(String area) {
        this.area = area;
    }

    /**
     * 街道/商圈
     */
    public String getStreet() {
        return street;
    }

    /**
     * 街道/商圈
     */
    public void setStreet(String street) {
        this.street = street;
    }

    /**
     * 小区/写字楼
     */
    public String getCommunity() {
        return community;
    }

    /**
     * 小区/写字楼
     */
    public void setCommunity(String community) {
        this.community = community;
    }

    /**
     * 插入时间
     */
    public Date getIndate() {
        return indate;
    }

    /**
     * 插入时间
     */
    public void setIndate(Date indate) {
        this.indate = indate;
    }

    /**
     * 修改时间
     */
    public Date getModifTime() {
        return modifTime;
    }

    /**
     * 修改时间
     */
    public void setModifTime(Date modifTime) {
        this.modifTime = modifTime;
    }

    /**
     * 操作者
     */
    public String getAuthor() {
        return author;
    }

    /**
     * 操作者
     */
    public void setAuthor(String author) {
        this.author = author;
    }

    /**
     * 类型 1-街道，小区；2--商圈写字楼
     */
    public Integer getType() {
        return type;
    }

    /**
     * 类型 1-街道，小区；2--商圈写字楼
     */
    public void setType(Integer type) {
        this.type = type;
    }

    /**
     * 是否删除(0--正常，1--删除）
     */
    public Integer getIsDel() {
        return isDel;
    }

    /**
     * 是否删除(0--正常，1--删除）
     */
    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    /**
     * 排序字段，从小到大排序
     */
    public Integer getOrd() {
        return ord;
    }

    /**
     * 排序字段，从小到大排序
     */
    public void setOrd(Integer ord) {
        this.ord = ord;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", district=").append(district);
        sb.append(", area=").append(area);
        sb.append(", street=").append(street);
        sb.append(", community=").append(community);
        sb.append(", indate=").append(indate);
        sb.append(", modifTime=").append(modifTime);
        sb.append(", author=").append(author);
        sb.append(", type=").append(type);
        sb.append(", isDel=").append(isDel);
        sb.append(", ord=").append(ord);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SuperSysconfAddr other = (SuperSysconfAddr) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getDistrict() == null ? other.getDistrict() == null : this.getDistrict().equals(other.getDistrict()))
            && (this.getArea() == null ? other.getArea() == null : this.getArea().equals(other.getArea()))
            && (this.getStreet() == null ? other.getStreet() == null : this.getStreet().equals(other.getStreet()))
            && (this.getCommunity() == null ? other.getCommunity() == null : this.getCommunity().equals(other.getCommunity()))
            && (this.getIndate() == null ? other.getIndate() == null : this.getIndate().equals(other.getIndate()))
            && (this.getModifTime() == null ? other.getModifTime() == null : this.getModifTime().equals(other.getModifTime()))
            && (this.getAuthor() == null ? other.getAuthor() == null : this.getAuthor().equals(other.getAuthor()))
            && (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
            && (this.getIsDel() == null ? other.getIsDel() == null : this.getIsDel().equals(other.getIsDel()))
            && (this.getOrd() == null ? other.getOrd() == null : this.getOrd().equals(other.getOrd()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getDistrict() == null) ? 0 : getDistrict().hashCode());
        result = prime * result + ((getArea() == null) ? 0 : getArea().hashCode());
        result = prime * result + ((getStreet() == null) ? 0 : getStreet().hashCode());
        result = prime * result + ((getCommunity() == null) ? 0 : getCommunity().hashCode());
        result = prime * result + ((getIndate() == null) ? 0 : getIndate().hashCode());
        result = prime * result + ((getModifTime() == null) ? 0 : getModifTime().hashCode());
        result = prime * result + ((getAuthor() == null) ? 0 : getAuthor().hashCode());
        result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
        result = prime * result + ((getIsDel() == null) ? 0 : getIsDel().hashCode());
        result = prime * result + ((getOrd() == null) ? 0 : getOrd().hashCode());
        return result;
    }
}